import 'package:json_annotation/json_annotation.dart';

part 'result.g.dart';

@JsonSerializable()
class Result{
  int code;
  String method;
  String requestPrams;

  Result(this.code, this.method, this.requestPrams);
  //固定格式
  factory Result.fromJson(Map<String,dynamic>json)=>_$ResultFromJson(json);
  Map<String,dynamic> toJson()=>_$ResultToJson(this);
}